XIQS Update Device Plan

From IQsimWiki

Jump to: navigation, search

Update XIQS Device Plan - Device Plan

Description

updateXIQSDevicePlan ( long device plan id, string device plan name, long country group restricted, long timing type, long timing day, long end of pass, long data flags, long high speed volume, long low speed volume, long low speed bandwidth, long extra group id, long extra group volume, long billing type )


Update an existing Device Plan Note: only administrator can update Device Plan in other partitions than current


Parameters

long device plan id

Device Plan Id. 

string device plan name

Must be unique on the partition. 

long country group restricted

Country Group Id 

long timing type

0: Number of days
1: Monthly

long timing day

Number of days or Birthday according to timingtype 

long end of pass

0: Partition Midnight
1: Device Local Midnight

long data flags

1: Data unlimited
2: Low Speed Data unlimited

long high speed volume

Data (Kilo Bytes) 

long low speed volume

Low Speed Data (Kilo Bytes) 

long low speed bandwidth

Low Speed Bandwidth (Kilo Bit per second) 

long extra group id

Country Group Id 

long extra group volume

Supplementary Data (Kilo Bytes) 

long billing type

Always 0  
Return Values
Return Code Integer: OK = 1


Error Data structure ( Error Management )

Possible failure code returns
*ERR_UNAUTHORIZED (401) ERR_MSG_OBJ_NOT_OWNED
*ERR_OBJECT_EXISTS(451) ERR_MSG_DVC_FOUND
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB or ERR_MSG_OBJ_NO_ID
Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List